
<div class="alert alert-info">
	<p>设置的语言包写入数据库，更新到如default.po等语言记录中</p>
</div>
<p>
<a href="{{$this->Html->url(array('action'=>'add'))}}" class="btn btn-primary"><i class="fa fa-plus"></i> {{__('New Item')}}</a>
<a href="{{$this->Html->url(array('action'=>'edit'))}}" class="btn btn-primary"><i class="fa fa-edit"></i> {{__('Edit All')}}</a>
</p>
<?php
echo '<table class="table table-striped contentTable">';
echo $this->Html->tableHeaders(array( __('Lanaguage msgid'), __('Lanaguage Text'),__('Action')));

foreach ($defined_languages AS $defined_language)
{
	echo $this->Html->TableCells(
		array(
			$this->Html->link(
            $defined_language['DefinedLanguage']['key'],'
            /admin/defined_language/defined_languages/edit/' . $defined_language['DefinedLanguage']['key']),

			   $defined_language['DefinedLanguage']['value'],
            $this->Html->link(__('Edit'), array('action' => 'edit',$defined_language['DefinedLanguage']['key']))
		)
	);
}
echo '</table>';

?>